<template>
  <div id="user">
    <router-link to="/">
      <div class="icon iconfont">&#xe64d;</div>
    </router-link>
    
      <router-view :user="user"></router-view>
  </div>
</template>

<script>
import personal from '../personal/personal.vue'
export default{
  name:'user',
  components:{
    personal
  },
  data(){
    return{
      user:this.$route.query.user
    }
  },
  methods:{

  }
  
}
</script>

<style scoped>
#user{
  position: relative;
  width: 100%;
  height: 100%;
}
#user .icon{
  position: absolute;
  top: .4rem;
  left: .25rem;
  font-size: .6rem;
  z-index: 99;
  color: #FFFFFF;
}
</style>
